Tasks

object Tasks

Functions

Link copied to clipboard
Link copied to clipboard
fun <ResultT> create(action: () -> ResultT): Task<ResultT>
fun <ResultT> create(config: TaskConfig, action: () -> ResultT): Task<ResultT>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun fromNumber(action: Promise<Int>): Task<Int>
Link copied to clipboard
Link copied to clipboard
fun fromVoid(action: Promise<Unit>): Task<Unit>